<?php

class UserDao extends BaseDao {
	
	public function __construct($dsn, $username, $password) {
		parent::__construct($dsn, $username, $password);
			
		$this->mapping = new Mapping("UserModel", "t_user", array("id"),
		array(
			"id",
			"name",
			"login",
			"password",
			"gmailuser",
			"gmailpassword",
			"active",
			"isAlertActive",
			"alertFor"
		),
		array(
			"id",
			"name",
			"login",
			"password",
			"gmailuser",
			"gmailpassword",
			"active",
			"isAlertActive",
			"alertFor"
		));
	}
}
?>